<!DOCTYPE html> 
<html lang="en-US">
  <head>
    <title>Login</title>
    <meta charset="utf-8">
    <link href="<?php echo base_url(); ?>assets/css/admin/global.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <div class="container login">
      <?php 		
      $attributes = array('class' => 'form-signin');
      echo form_open(base_url('admin/login/validate'), $attributes);
      echo '<h2 class="form-signin-heading">Đăng nhập</h2>';
		if(isset($message_error) && $message_error){
         echo '<div class="alert alert-error">';
         echo '<a class="close" data-dismiss="alert">×</a>';
         echo '<strong>Username</strong> hoặc <strong>Password</strong> không đúng.';
         echo '</div>';             
      }
      echo form_input('username', '', 'placeholder="Username"');
      echo form_password('password', '', 'placeholder="Password"');      
      echo form_submit('submit', 'Đăng nhập', 'class="btn btn-large btn-primary"');
      echo form_close();
      ?>      
    </div><!--container-->
	 
    <script src="<?php echo base_url(); ?>assets/js/jquery-1.10.2.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
  </body>
</html>    
    